package com.kgc.travel.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ClassExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ClassExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andClassIdIsNull() {
            addCriterion("class_id is null");
            return (Criteria) this;
        }

        public Criteria andClassIdIsNotNull() {
            addCriterion("class_id is not null");
            return (Criteria) this;
        }

        public Criteria andClassIdEqualTo(Integer value) {
            addCriterion("class_id =", value, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdNotEqualTo(Integer value) {
            addCriterion("class_id <>", value, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdGreaterThan(Integer value) {
            addCriterion("class_id >", value, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("class_id >=", value, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdLessThan(Integer value) {
            addCriterion("class_id <", value, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdLessThanOrEqualTo(Integer value) {
            addCriterion("class_id <=", value, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdIn(List<Integer> values) {
            addCriterion("class_id in", values, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdNotIn(List<Integer> values) {
            addCriterion("class_id not in", values, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdBetween(Integer value1, Integer value2) {
            addCriterion("class_id between", value1, value2, "classId");
            return (Criteria) this;
        }

        public Criteria andClassIdNotBetween(Integer value1, Integer value2) {
            addCriterion("class_id not between", value1, value2, "classId");
            return (Criteria) this;
        }

        public Criteria andClassNumIsNull() {
            addCriterion("class_num is null");
            return (Criteria) this;
        }

        public Criteria andClassNumIsNotNull() {
            addCriterion("class_num is not null");
            return (Criteria) this;
        }

        public Criteria andClassNumEqualTo(String value) {
            addCriterion("class_num =", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumNotEqualTo(String value) {
            addCriterion("class_num <>", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumGreaterThan(String value) {
            addCriterion("class_num >", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumGreaterThanOrEqualTo(String value) {
            addCriterion("class_num >=", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumLessThan(String value) {
            addCriterion("class_num <", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumLessThanOrEqualTo(String value) {
            addCriterion("class_num <=", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumLike(String value) {
            addCriterion("class_num like", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumNotLike(String value) {
            addCriterion("class_num not like", value, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumIn(List<String> values) {
            addCriterion("class_num in", values, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumNotIn(List<String> values) {
            addCriterion("class_num not in", values, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumBetween(String value1, String value2) {
            addCriterion("class_num between", value1, value2, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNumNotBetween(String value1, String value2) {
            addCriterion("class_num not between", value1, value2, "classNum");
            return (Criteria) this;
        }

        public Criteria andClassNameIsNull() {
            addCriterion("class_name is null");
            return (Criteria) this;
        }

        public Criteria andClassNameIsNotNull() {
            addCriterion("class_name is not null");
            return (Criteria) this;
        }

        public Criteria andClassNameEqualTo(String value) {
            addCriterion("class_name =", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotEqualTo(String value) {
            addCriterion("class_name <>", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameGreaterThan(String value) {
            addCriterion("class_name >", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameGreaterThanOrEqualTo(String value) {
            addCriterion("class_name >=", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameLessThan(String value) {
            addCriterion("class_name <", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameLessThanOrEqualTo(String value) {
            addCriterion("class_name <=", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameLike(String value) {
            addCriterion("class_name like", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotLike(String value) {
            addCriterion("class_name not like", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameIn(List<String> values) {
            addCriterion("class_name in", values, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotIn(List<String> values) {
            addCriterion("class_name not in", values, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameBetween(String value1, String value2) {
            addCriterion("class_name between", value1, value2, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotBetween(String value1, String value2) {
            addCriterion("class_name not between", value1, value2, "className");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIsNull() {
            addCriterion("teacher_id is null");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIsNotNull() {
            addCriterion("teacher_id is not null");
            return (Criteria) this;
        }

        public Criteria andTeacherIdEqualTo(Integer value) {
            addCriterion("teacher_id =", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotEqualTo(Integer value) {
            addCriterion("teacher_id <>", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdGreaterThan(Integer value) {
            addCriterion("teacher_id >", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("teacher_id >=", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLessThan(Integer value) {
            addCriterion("teacher_id <", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLessThanOrEqualTo(Integer value) {
            addCriterion("teacher_id <=", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIn(List<Integer> values) {
            addCriterion("teacher_id in", values, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotIn(List<Integer> values) {
            addCriterion("teacher_id not in", values, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdBetween(Integer value1, Integer value2) {
            addCriterion("teacher_id between", value1, value2, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotBetween(Integer value1, Integer value2) {
            addCriterion("teacher_id not between", value1, value2, "teacherId");
            return (Criteria) this;
        }

        public Criteria andClassLogoIsNull() {
            addCriterion("class_logo is null");
            return (Criteria) this;
        }

        public Criteria andClassLogoIsNotNull() {
            addCriterion("class_logo is not null");
            return (Criteria) this;
        }

        public Criteria andClassLogoEqualTo(String value) {
            addCriterion("class_logo =", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoNotEqualTo(String value) {
            addCriterion("class_logo <>", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoGreaterThan(String value) {
            addCriterion("class_logo >", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoGreaterThanOrEqualTo(String value) {
            addCriterion("class_logo >=", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoLessThan(String value) {
            addCriterion("class_logo <", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoLessThanOrEqualTo(String value) {
            addCriterion("class_logo <=", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoLike(String value) {
            addCriterion("class_logo like", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoNotLike(String value) {
            addCriterion("class_logo not like", value, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoIn(List<String> values) {
            addCriterion("class_logo in", values, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoNotIn(List<String> values) {
            addCriterion("class_logo not in", values, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoBetween(String value1, String value2) {
            addCriterion("class_logo between", value1, value2, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassLogoNotBetween(String value1, String value2) {
            addCriterion("class_logo not between", value1, value2, "classLogo");
            return (Criteria) this;
        }

        public Criteria andClassStatusIsNull() {
            addCriterion("class_status is null");
            return (Criteria) this;
        }

        public Criteria andClassStatusIsNotNull() {
            addCriterion("class_status is not null");
            return (Criteria) this;
        }

        public Criteria andClassStatusEqualTo(Integer value) {
            addCriterion("class_status =", value, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusNotEqualTo(Integer value) {
            addCriterion("class_status <>", value, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusGreaterThan(Integer value) {
            addCriterion("class_status >", value, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("class_status >=", value, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusLessThan(Integer value) {
            addCriterion("class_status <", value, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusLessThanOrEqualTo(Integer value) {
            addCriterion("class_status <=", value, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusIn(List<Integer> values) {
            addCriterion("class_status in", values, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusNotIn(List<Integer> values) {
            addCriterion("class_status not in", values, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusBetween(Integer value1, Integer value2) {
            addCriterion("class_status between", value1, value2, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("class_status not between", value1, value2, "classStatus");
            return (Criteria) this;
        }

        public Criteria andClassDescIsNull() {
            addCriterion("class_desc is null");
            return (Criteria) this;
        }

        public Criteria andClassDescIsNotNull() {
            addCriterion("class_desc is not null");
            return (Criteria) this;
        }

        public Criteria andClassDescEqualTo(String value) {
            addCriterion("class_desc =", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescNotEqualTo(String value) {
            addCriterion("class_desc <>", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescGreaterThan(String value) {
            addCriterion("class_desc >", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescGreaterThanOrEqualTo(String value) {
            addCriterion("class_desc >=", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescLessThan(String value) {
            addCriterion("class_desc <", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescLessThanOrEqualTo(String value) {
            addCriterion("class_desc <=", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescLike(String value) {
            addCriterion("class_desc like", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescNotLike(String value) {
            addCriterion("class_desc not like", value, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescIn(List<String> values) {
            addCriterion("class_desc in", values, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescNotIn(List<String> values) {
            addCriterion("class_desc not in", values, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescBetween(String value1, String value2) {
            addCriterion("class_desc between", value1, value2, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassDescNotBetween(String value1, String value2) {
            addCriterion("class_desc not between", value1, value2, "classDesc");
            return (Criteria) this;
        }

        public Criteria andClassAddressIsNull() {
            addCriterion("class_address is null");
            return (Criteria) this;
        }

        public Criteria andClassAddressIsNotNull() {
            addCriterion("class_address is not null");
            return (Criteria) this;
        }

        public Criteria andClassAddressEqualTo(String value) {
            addCriterion("class_address =", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressNotEqualTo(String value) {
            addCriterion("class_address <>", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressGreaterThan(String value) {
            addCriterion("class_address >", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressGreaterThanOrEqualTo(String value) {
            addCriterion("class_address >=", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressLessThan(String value) {
            addCriterion("class_address <", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressLessThanOrEqualTo(String value) {
            addCriterion("class_address <=", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressLike(String value) {
            addCriterion("class_address like", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressNotLike(String value) {
            addCriterion("class_address not like", value, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressIn(List<String> values) {
            addCriterion("class_address in", values, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressNotIn(List<String> values) {
            addCriterion("class_address not in", values, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressBetween(String value1, String value2) {
            addCriterion("class_address between", value1, value2, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassAddressNotBetween(String value1, String value2) {
            addCriterion("class_address not between", value1, value2, "classAddress");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateIsNull() {
            addCriterion("class_gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateIsNotNull() {
            addCriterion("class_gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateEqualTo(Date value) {
            addCriterion("class_gmt_create =", value, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateNotEqualTo(Date value) {
            addCriterion("class_gmt_create <>", value, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateGreaterThan(Date value) {
            addCriterion("class_gmt_create >", value, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("class_gmt_create >=", value, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateLessThan(Date value) {
            addCriterion("class_gmt_create <", value, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("class_gmt_create <=", value, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateIn(List<Date> values) {
            addCriterion("class_gmt_create in", values, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateNotIn(List<Date> values) {
            addCriterion("class_gmt_create not in", values, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateBetween(Date value1, Date value2) {
            addCriterion("class_gmt_create between", value1, value2, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("class_gmt_create not between", value1, value2, "classGmtCreate");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedIsNull() {
            addCriterion("class_gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedIsNotNull() {
            addCriterion("class_gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedEqualTo(Date value) {
            addCriterion("class_gmt_modified =", value, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedNotEqualTo(Date value) {
            addCriterion("class_gmt_modified <>", value, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedGreaterThan(Date value) {
            addCriterion("class_gmt_modified >", value, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("class_gmt_modified >=", value, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedLessThan(Date value) {
            addCriterion("class_gmt_modified <", value, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("class_gmt_modified <=", value, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedIn(List<Date> values) {
            addCriterion("class_gmt_modified in", values, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedNotIn(List<Date> values) {
            addCriterion("class_gmt_modified not in", values, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("class_gmt_modified between", value1, value2, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("class_gmt_modified not between", value1, value2, "classGmtModified");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeIsNull() {
            addCriterion("class_active_time is null");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeIsNotNull() {
            addCriterion("class_active_time is not null");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeEqualTo(Date value) {
            addCriterion("class_active_time =", value, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeNotEqualTo(Date value) {
            addCriterion("class_active_time <>", value, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeGreaterThan(Date value) {
            addCriterion("class_active_time >", value, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("class_active_time >=", value, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeLessThan(Date value) {
            addCriterion("class_active_time <", value, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeLessThanOrEqualTo(Date value) {
            addCriterion("class_active_time <=", value, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeIn(List<Date> values) {
            addCriterion("class_active_time in", values, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeNotIn(List<Date> values) {
            addCriterion("class_active_time not in", values, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeBetween(Date value1, Date value2) {
            addCriterion("class_active_time between", value1, value2, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassActiveTimeNotBetween(Date value1, Date value2) {
            addCriterion("class_active_time not between", value1, value2, "classActiveTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeIsNull() {
            addCriterion("class_over_time is null");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeIsNotNull() {
            addCriterion("class_over_time is not null");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeEqualTo(Date value) {
            addCriterion("class_over_time =", value, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeNotEqualTo(Date value) {
            addCriterion("class_over_time <>", value, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeGreaterThan(Date value) {
            addCriterion("class_over_time >", value, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("class_over_time >=", value, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeLessThan(Date value) {
            addCriterion("class_over_time <", value, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeLessThanOrEqualTo(Date value) {
            addCriterion("class_over_time <=", value, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeIn(List<Date> values) {
            addCriterion("class_over_time in", values, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeNotIn(List<Date> values) {
            addCriterion("class_over_time not in", values, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeBetween(Date value1, Date value2) {
            addCriterion("class_over_time between", value1, value2, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andClassOverTimeNotBetween(Date value1, Date value2) {
            addCriterion("class_over_time not between", value1, value2, "classOverTime");
            return (Criteria) this;
        }

        public Criteria andMojorIdIsNull() {
            addCriterion("mojor_id is null");
            return (Criteria) this;
        }

        public Criteria andMojorIdIsNotNull() {
            addCriterion("mojor_id is not null");
            return (Criteria) this;
        }

        public Criteria andMojorIdEqualTo(Integer value) {
            addCriterion("mojor_id =", value, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdNotEqualTo(Integer value) {
            addCriterion("mojor_id <>", value, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdGreaterThan(Integer value) {
            addCriterion("mojor_id >", value, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mojor_id >=", value, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdLessThan(Integer value) {
            addCriterion("mojor_id <", value, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdLessThanOrEqualTo(Integer value) {
            addCriterion("mojor_id <=", value, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdIn(List<Integer> values) {
            addCriterion("mojor_id in", values, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdNotIn(List<Integer> values) {
            addCriterion("mojor_id not in", values, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdBetween(Integer value1, Integer value2) {
            addCriterion("mojor_id between", value1, value2, "mojorId");
            return (Criteria) this;
        }

        public Criteria andMojorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mojor_id not between", value1, value2, "mojorId");
            return (Criteria) this;
        }

        public Criteria andClassIsDelIsNull() {
            addCriterion("class_is_del is null");
            return (Criteria) this;
        }

        public Criteria andClassIsDelIsNotNull() {
            addCriterion("class_is_del is not null");
            return (Criteria) this;
        }

        public Criteria andClassIsDelEqualTo(Integer value) {
            addCriterion("class_is_del =", value, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelNotEqualTo(Integer value) {
            addCriterion("class_is_del <>", value, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelGreaterThan(Integer value) {
            addCriterion("class_is_del >", value, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("class_is_del >=", value, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelLessThan(Integer value) {
            addCriterion("class_is_del <", value, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("class_is_del <=", value, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelIn(List<Integer> values) {
            addCriterion("class_is_del in", values, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelNotIn(List<Integer> values) {
            addCriterion("class_is_del not in", values, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelBetween(Integer value1, Integer value2) {
            addCriterion("class_is_del between", value1, value2, "classIsDel");
            return (Criteria) this;
        }

        public Criteria andClassIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("class_is_del not between", value1, value2, "classIsDel");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}